home *** CD-ROM | disk | FTP | other *** search
-
-
-
- EEEExxxxttttUUUUttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt2222((((33333333////))))JJJJuuuullll////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhhEEEExxxx0000tttt2222UUUU))))ttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- ExtUtils::Manifest - utilities to write and check a MANIFEST
- file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- require ExtUtils::Manifest;
-
- ExtUtils::Manifest::mkmanifest;
-
- ExtUtils::Manifest::manicheck;
-
- ExtUtils::Manifest::filecheck;
-
- ExtUtils::Manifest::fullcheck;
-
- ExtUtils::Manifest::skipcheck;
-
- ExtUtild::Manifest::manifind();
-
- ExtUtils::Manifest::maniread($file);
-
- ExtUtils::Manifest::manicopy($read,$target,$how);
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _M_k_m_a_n_i_f_e_s_t() writes all files in and below the current
- directory to a file named in the global variable
- $ExtUtils::Manifest::MANIFEST (which defaults to MANIFEST)
- in the current directory. It works similar to
-
- find . -print
-
- but in doing so checks each line in an existing MANIFEST
- file and includes any comments that are found in the
- existing MANIFEST file in the new one. Anything between
- white space and an end of line within a MANIFEST file is
- considered to be a comment. Filenames and comments are
- seperated by one or more TAB characters in the output. All
- files that match any regular expression in a file
- MANIFEST.SKIP (if such a file exists) are ignored.
-
- _M_a_n_i_c_h_e_c_k() checks if all the files within a MANIFEST in the
- current directory really do exist. It only reports
- discrepancies and exits silently if MANIFEST and the tree
- below the current directory are in sync.
-
- _F_i_l_e_c_h_e_c_k() finds files below the current directory that are
- not mentioned in the MANIFEST file. An optional file
- MANIFEST.SKIP will be consulted. Any file matching a regular
- expression in such a file will not be reported as missing in
- the MANIFEST file.
-
- _F_u_l_l_c_h_e_c_k() does both a _m_a_n_i_c_h_e_c_k() and a _f_i_l_e_c_h_e_c_k().
-
-
-
- Page 1 (printed 10/23/98)
-
-
-
-
-
-
- EEEExxxxttttUUUUttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt2222((((33333333////))))JJJJuuuullll////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhhEEEExxxx0000tttt2222UUUU))))ttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt((((3333))))
-
-
-
- _S_k_i_p_c_h_e_c_k() lists all the files that are skipped due to your
- MANIFEST.SKIP file.
-
- _M_a_n_i_f_i_n_d() retruns a hash reference. The keys of the hash
- are the files found below the current directory.
-
- _M_a_n_i_r_e_a_d($file) reads a named MANIFEST file (defaults to
- MANIFEST in the current directory) and returns a HASH
- reference with files being the keys and comments being the
- values of the HASH. Blank lines and lines which start with
- # in the MANIFEST file are discarded.
-
- _M_a_n_i_c_o_p_y($_r_e_a_d,$_t_a_r_g_e_t,$_h_o_w) copies the files that are the
- keys in the HASH %$_r_e_a_d to the named target directory. The
- HASH reference $_r_e_a_d is typically returned by the _m_a_n_i_r_e_a_d()
- function. This function is useful for producing a directory
- tree identical to the intended distribution tree. The third
- parameter $how can be used to specify a different methods of
- "copying". Valid values are cp, which actually copies the
- files, ln which creates hard links, and best which mostly
- links the files but copies any symbolic link to make a tree
- without any symbolic link. Best is the default.
-
- MMMMAAAANNNNIIIIFFFFEEEESSSSTTTT....SSSSKKKKIIIIPPPP
- The file MANIFEST.SKIP may contain regular expressions of
- files that should be ignored by _m_k_m_a_n_i_f_e_s_t() and
- _f_i_l_e_c_h_e_c_k(). The regular expressions should appear one on
- each line. Blank lines and lines which start with # are
- skipped. Use \# if you need a regular expression to start
- with a sharp character. A typical example:
-
- \bRCS\b
- ^MANIFEST\.
- ^Makefile$
- ~$
- \.html$
- \.old$
- ^blib/
- ^MakeMaker-\d
-
-
- EEEEXXXXPPPPOOOORRRRTTTT____OOOOKKKK
- &mkmanifest, &manicheck, &filecheck, &fullcheck, &maniread,
- and &manicopy are exportable.
-
- GGGGLLLLOOOOBBBBAAAALLLL VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
- $ExtUtils::Manifest::MANIFEST defaults to MANIFEST. Changing
- it results in both a different MANIFEST and a different
- MANIFEST.SKIP file. This is useful if you want to maintain
- different distributions for different audiences (say a user
- version and a developer version including RCS).
-
-
-
-
- Page 2 (printed 10/23/98)
-
-
-
-
-
-
- EEEExxxxttttUUUUttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt2222((((33333333////))))JJJJuuuullll////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhhEEEExxxx0000tttt2222UUUU))))ttttiiiillllssss::::::::MMMMaaaannnniiiiffffeeeesssstttt((((3333))))
-
-
-
- $ExtUtils::Manifest::Quiet defaults to 0. If set to a true
- value, all functions act silently.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- All diagnostic output is sent to STDERR.
-
- Not in MANIFEST: _f_i_l_e
- is reported if a file is found, that is missing in the
- MANIFEST file which is excluded by a regular expression
- in the file MANIFEST.SKIP.
-
- No such file: _f_i_l_e
- is reported if a file mentioned in a MANIFEST file does
- not exist.
-
- MANIFEST: $!
- is reported if MANIFEST could not be opened.
-
- Added to MANIFEST: _f_i_l_e
- is reported by _m_k_m_a_n_i_f_e_s_t() if $Verbose is set and a
- file is added to MANIFEST. $Verbose is set to 1 by
- default.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- the _E_x_t_U_t_i_l_s::_M_a_k_e_M_a_k_e_r manpage which has handy targets for
- most of the functionality.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Andreas Koenig <_k_o_e_n_i_g@_f_r_a_n_z._w_w._T_U-_B_e_r_l_i_n._D_E>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 10/23/98)
-
-
-
-